//
//  gripper.h
//  Embedded_System
//
//  Created by Edward Bassan on 2/26/14.
//  Copyright (c) 2014 Edward Bassan. All rights reserved.
//

#ifndef Embedded_System_gripper_h
#define Embedded_System_gripper_h



typedef struct gripper {
    
    //member functions
    int(*liftObject)(struct gripper *, int pin, int lift);
    int(*lowerObject)(struct gripper *, int pin, int lower);
    
    
}gripperStr;

typedef gripperStr * GripperPtr;

GripperPtr newGripperConstructor(void);
int liftObject(GripperPtr this, int pin, int lift);
int lowerObject(GripperPtr this, int pin, int lower);

#endif
